#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int my_strlen(char* p)
{
	int count = 0;
	while(*p)
	{
		count++;
		p++;
	}
	return count;
}
char* my_strcpy(char* str1, char* str2)
{
	char* ret = str1;
	while (*str2)
	{
		*str1++ = *str2++;
		
	}
	*str1 = '\0';
	return ret;
}
int main()
{
	char arr1[] = { "abcdefg" };
	char arr2[] = { "hjk" };
//	printf("%d", my_strlen(arr2));
	printf("%s", my_strcpy(arr1,arr2));

	return 0;
}